package com.niguang.labour.admin.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_app_user")
public class WorkAppUser extends Model<WorkAppUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * 手机号码
     */
	@TableField("user_phone")
	private String userPhone;
    /**
     * 用户姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 用户头像
     */
	@TableField("user_pic")
	private String userPic;
    /**
     * 信誉分
     */
	@TableField("user_credit")
	private Integer userCredit;
    /**
     * 城市ID
     */
	@TableField("city_id")
	private String cityId;
    /**
     * 用户类型 1--个人 2--企业
     */
	@TableField("user_type")
	private Integer userType;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 删除标识0-未删除 1-已删除
     */
	@TableField("del_flag")
	private Integer delFlag;
    /**
     * 用户注册时所在城市的经纬度
     */
	@TableField("city_latitude")
	private String cityLatitude;
    /**
     * IC卡号
     */
	@TableField("ic_card")
	private String icCard;
    /**
     * 百度人脸注册id
     */
	@TableField("face_id")
	private String faceId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPic() {
		return userPic;
	}

	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}

	public Integer getUserCredit() {
		return userCredit;
	}

	public void setUserCredit(Integer userCredit) {
		this.userCredit = userCredit;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public String getCityLatitude() {
		return cityLatitude;
	}

	public void setCityLatitude(String cityLatitude) {
		this.cityLatitude = cityLatitude;
	}

	public String getIcCard() {
		return icCard;
	}

	public void setIcCard(String icCard) {
		this.icCard = icCard;
	}

	public String getFaceId() {
		return faceId;
	}

	public void setFaceId(String faceId) {
		this.faceId = faceId;
	}

	public static final String ID = "id";

	public static final String USER_PHONE = "user_phone";

	public static final String USER_NAME = "user_name";

	public static final String USER_PIC = "user_pic";

	public static final String USER_CREDIT = "user_credit";

	public static final String CITY_ID = "city_id";

	public static final String USER_TYPE = "user_type";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	public static final String CITY_LATITUDE = "city_latitude";

	public static final String IC_CARD = "ic_card";

	public static final String FACE_ID = "face_id";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkAppUser{" +
			"id=" + id +
			", userPhone=" + userPhone +
			", userName=" + userName +
			", userPic=" + userPic +
			", userCredit=" + userCredit +
			", cityId=" + cityId +
			", userType=" + userType +
			", createTime=" + createTime +
			", delFlag=" + delFlag +
			", cityLatitude=" + cityLatitude +
			", icCard=" + icCard +
			", faceId=" + faceId +
			"}";
	}
}
